package com.summarecon.database.fieldData;

import java.sql.Timestamp;

public class User {
	int _id;
    String user_nik;
    String user_pass;
    String user_name;
    byte[] user_photo;
    String user_note;
    int role_id;
    Timestamp time_stamp;
    
    public User(){
    	
    }
    public User(int id, String nik, String pass, String name, byte[] photo, String note, int role, Timestamp time){
        this._id = id;
        this.user_nik = nik;
        this.user_pass = pass;
        this.user_name = name;
        this.user_photo = photo;
        this.user_note = note;
        this.role_id = role;
        this.time_stamp = time;
    }
 
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
}
